x86 hvm: Factor out hvm_map_guest_frame_{rw,ro} from hvm_map_entry
authorKeir Fraser <keir@xen.org>
Wed, 6 Oct 2010 10:00:19 +0000 (11:00 +0100)
committerKeir Fraser <keir@xen.org>
Wed, 6 Oct 2010 10:00:19 +0000 (11:00 +0100)
commitb5d197b17dae4f942782de2cda2fc3b072687d97
tree9b25da832e29bdab10b45f421621711f295647b3
parent5588033df56a5ac935ded5ae8587bc5841314863
x86 hvm: Factor out hvm_map_guest_frame_{rw,ro} from hvm_map_entry

This allows us to map pages from guest physical addresses.

This will be used with nested virtualization.

Signed-off-by: Uwe Dannowski <Uwe.Dannowski@amd.com>
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/hvm.h